using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Entities.DataBase.Persistent.Jso {

    [DataContract]
    public class Address {

        [DataMember]
        [JsonProperty(PropertyName = "Country")]
        public string Country { get; set; }

        [DataMember]
        [JsonProperty(PropertyName="State")]
        public string State { get; set; }

        [DataMember]
        [JsonProperty(PropertyName="City")]
        public string City { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "Postcode")]
        public string Postcode { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "Line1")]
        public string Line1 { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "Line2")]
        public string Line2 { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "Line3")]
        public string Line3 { get; set; }

    }
}